/**
 * Date：2017.05.14 星期日 晚上
 * Function：联系模型 
 * E-mail：woaitianwen@qq.com
 * Author：zhouyulong
 */

'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;


var CommentSchema = new Schema({
  username: {
    type: String,
  },
  weixin: {
      type: String,
  },
  email: {
      type: String,
  },
  comments: {
      type:String,
  },
  Created_date: {
    type: Date,
    default: Date.now
  },
  read: {
      type: Boolean,
      default: 'false'   
  }
});

module.exports = mongoose.model('Comments', CommentSchema);
